package com.flexcodejam.vfd.business
{

	import mx.rpc.AsyncToken;
	import mx.rpc.IResponder;
	import com.adobe.cairngorm.business.ServiceLocator;

	public class ScoreBoardDelegate {

		private var command : IResponder;
		private var service : Object;

		public function LoadMediaDelegate( command : IResponder ) {
			//STUB -Coldfusion Scoreboard Service would go here
			//this.service = ServiceLocator.getInstance().getHTTPService( 'serviceName' );
			this.command = command;	
		}
		
		public function loadMediaService() : void {
			var token:AsyncToken = service.send();
			token.addResponder(command);
		}
	}
		
}